Foxit PDF SDK
FoxitPDFSDKPython3.DialogDescriptionElement类 参考

继承自 FoxitPDFSDKPython3._object .

Public 成员函数

def DialogDescriptionElement ()
 构造函数。

 
def DialogDescriptionElement (dlg_des_element)
 构造函数,使用另一个对话框描述元素对象。
更多...
 
def DialogDescriptionElement (name, item_id, type, next_tab, width, height, char_width, char_height, font, bold, italic, alignment, align_children, element_array)
 构造函数,带参数。
更多...
 
def Set (name, item_id, type, next_tab, width, height, char_width, char_height, font, bold, italic, alignment, align_children, element_array)
 设置值。
更多...
 

静态 Public 属性

 align_children = _fsdk.DialogDescriptionElement_align_children
 所有子元素的对齐方式。

 
 alignment = _fsdk.DialogDescriptionElement_alignment
 此元素的对齐方式。

 
 bold = _fsdk.DialogDescriptionElement_bold
 指定字体是否为粗体。

 
 char_height = _fsdk.DialogDescriptionElement_char_height
 指定元素的高度(以字符为单位)。
更多...
 
 char_width = _fsdk.DialogDescriptionElement_char_width
 指定元素的宽度(以字符为单位)。
更多...
 
 element_array = _fsdk.DialogDescriptionElement_element_array
 描述此对话框元素子元素的对象字面量数组。

 
 font = _fsdk.DialogDescriptionElement_font
 此元素使用的字体。
更多...
 
 height = _fsdk.DialogDescriptionElement_height
 指定元素的高度(以像素为单位)。
更多...
 
 italic = _fsdk.DialogDescriptionElement_italic
 指定字体是否为斜体。

 
 item_id = _fsdk.DialogDescriptionElement_item_id
 此对话框的项目ID。

 
 name = _fsdk.DialogDescriptionElement_name
 对话框元素的显示名称。

 
 next_tab = _fsdk.DialogDescriptionElement_next_tab
 Tab顺序中下一个对话框项目的项目ID。

 
 type = _fsdk.DialogDescriptionElement_type
 此对话框元素的类型。

 
 width = _fsdk.DialogDescriptionElement_width
 指定元素的宽度(以像素为单位)。
更多...
 

详细描述

此类表示对话框元素属性,指定具有以下属性集的对象字面量。

构造及析构函数说明

◆ DialogDescriptionElement() [1/2]

def FoxitPDFSDKPython3.DialogDescriptionElement.DialogDescriptionElement (   name,
  item_id,
  type,
  next_tab,
  width,
  height,
  char_width,
  char_height,
  font,
  bold,
  italic,
  alignment,
  align_children,
  element_array 
)

构造函数,带参数。

参数
[in]name对话框元素的显示名称。
[in]item_id此对话框的项目ID。
[in]type此对话框元素的类型。
[in]next_tabTab顺序中应该是第一个的对话框项目的项目ID。
[in]width指定元素的宽度(以像素为单位)。
[in]height指定元素的高度(以像素为单位)。
[in]char_width指定元素的宽度(以字符为单位)。
[in]char_height指定元素的高度(以字符为单位)。
[in]font此元素使用的字体。
[in]bold指定字体是否为粗体。
[in]italic指定字体是否为斜体。
[in]alignment此元素的对齐方式。
[in]align_children所有子元素的对齐方式。
[in]element_array描述此对话框元素子元素的对象字面量数组。

◆ DialogDescriptionElement() [2/2]

def FoxitPDFSDKPython3.DialogDescriptionElement.DialogDescriptionElement (   dlg_des_element)

构造函数,使用另一个对话框描述元素对象。

参数
[in]dlg_des_element另一个对话框描述元素对象。

成员函数说明

◆ Set()

def FoxitPDFSDKPython3.DialogDescriptionElement.Set (   name,
  item_id,
  type,
  next_tab,
  width,
  height,
  char_width,
  char_height,
  font,
  bold,
  italic,
  alignment,
  align_children,
  element_array 
)

设置值。

参数
[in]name对话框元素的显示名称。
[in]item_id此对话框的项目ID。
[in]type此对话框元素的类型。
[in]next_tabTab顺序中第一个对话框项目的项目ID。
[in]width指定元素的宽度(以像素为单位)。
[in]height指定元素的高度(以像素为单位)。
[in]char_width指定元素的宽度(以字符为单位)。
[in]char_height指定元素的高度(以字符为单位)。
[in]font此元素使用的字体。
[in]bold指定字体是否为粗体。
[in]italic指定字体是否为斜体。
[in]alignment此元素的对齐方式。
[in]align_children所有子元素的对齐方式。
[in]element_array描述此对话框元素子元素的对象数组。
返回
无返回值。

类成员变量说明

◆ char_height

FoxitPDFSDKPython3.DialogDescriptionElement.char_height = _fsdk.DialogDescriptionElement_char_height
static

指定元素的高度(以字符为单位)。

如果未指定高度,则使用内容的组合高度。

◆ char_width

FoxitPDFSDKPython3.DialogDescriptionElement.char_width = _fsdk.DialogDescriptionElement_char_width
static

指定元素的宽度(以字符为单位)。

如果未指定宽度,则使用内容的组合宽度。

◆ font

FoxitPDFSDKPython3.DialogDescriptionElement.font = _fsdk.DialogDescriptionElement_font
static

此元素使用的字体。

它将是以下字符串之一:

  • "default" - 默认字体
  • "dialog" - 对话框字体
  • "palette" - 调色板(小)字体


◆ height

FoxitPDFSDKPython3.DialogDescriptionElement.height = _fsdk.DialogDescriptionElement_height
static

指定元素的高度(以像素为单位)。

如果未指定高度,则使用内容的组合高度。

◆ width

FoxitPDFSDKPython3.DialogDescriptionElement.width = _fsdk.DialogDescriptionElement_width
static

指定元素的宽度(以像素为单位)。

如果未指定宽度,则使用内容的组合宽度。